<?php include "counter.php";
 $self_url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
 $self_url = preg_replace("/\?.*/", "", $self_url);

pagestart(); 
 ?>
<html>
<?php pagehead("Lost key") ?>
<body bgcolor="white">
<?php
 pagetop("Lost Key?");

  if ($ctl_msg) {
	# note - if this is a span rather than a div, centering does not work
	print "<p><div class=\"message\">$ctl_msg</div>\n";
  }
?>

<p>Don't have your old email account any more? Don't have the key?
Fill out this form and we'll take care of the request shortly.</p>
This form causes an email to be sent to a group of people who need to do some database research by hand. Usually one of them will respond within a week. Please wait for an answer and don't create a new registration unless told so by the people of the lost key request group. Normally spoken chances are high that they will be able to recover your registration.

<form method="POST" action="/cgi-bin/lost-key.cgi">
  <input type="hidden" name="ctl_url" value="<?php echo $self_url ?>">
  <table border="0">
    <tr>
      <td align="right"><div align="right"><p><b>Name</b></div></td>
      <td><div align="left"><p><input type="text" name="name"
      size="20" value="<?php echo $name ?>"></div></td>
      <td align="right"><div align="right"><p><b>Current E-Mail
      Address</b></div></td> 
      <td><div align="left"><p><input type="text" name="current_email"
      size="20" value="<?php echo $current_email ?>"></div></td>
    </tr>
    <tr>
      <td align="right"><div align="right"><p>City</div></td>
      <td><div align="left"><p><input type="text" name="city" size="20" value="<?php echo $city ?>"></div></td>
      <td align="right"><b>Previous E-Mail Address</b></td>
      <td><input type="text" name="previous_email" size="20"
value="<?php echo $previous_email ?>"></td>
    </tr>
    <tr>
      <td align="right"><div align="right"><p>State</div></td>
      <td><div align="left"><p><input type="text" name="state"
size="20" value="<?php echo $state ?>"></div></td>
      <td align="right"></td>
      <td></td>
    </tr>
    <tr>
      <td align="right"><div align="right"><p>Country</div></td>
      <td><input type="text" name="country" size="20" value="<?php echo $country ?>"></td>
      <td align="right"></td>
      <td></td>
    </tr>
<?php if ($ctl_msg) { ?>
    <tr>
	<td>&nbsp;<td colspan="3">
	<input type="checkbox" name="ctl_skipcheck"
value="skip">
	Send mail even though there are errors in the data
    </tr>
<?php } ?>
    <tr>
      <td align="right" colspan="4"><div align="left">
      The items in <b>bold</b> <em>must</em> be filled in.
      <p>What do you
      want us to do?</p>
      </div><div align="left"><p><textarea rows="6" name="request"
cols="52"><?php echo $request ?></textarea></div></td>
    </tr>
  </table>
  <input type="submit" value="Submit" name="B1"><input type="reset" value="Reset"
  name="B2">
</form>

<p>To get more local service, look first in the <a
href="http://counter.li.org/reports/maintainers.php">maintainers
list</a> to see if there's a specific person taking care of your country.<br>
If there isn't, write to <?php print emailCloaking("lost-key@counter.li.org")?>, which is the same people as above.

<p>Someone should respond shortly.</p>

<?php pagebottom("yes") ?>
</body>
</html>
